-
Notifications
You must be signed in to change notification settings - Fork 287
add zizmor for linting workflows. #2798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: NicholasTanz <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks.
- left one change request: the release workflow is a bit tricky to test but I'm guessing the rc release name is not correct right now. This seems like the only merge blocking thing
- On personas: I believe "auditor" persona is not appropriate but "pedantic" might be -- feel free to experiment if you want but be aware that some of the suggestions might require discussion. Keeping the default is totally fine for this PR though
- The output is a little verbose maybe... Can you fiddle with verbosity settings to get the output to roughly match the other tools (in
tox -e lint) -- one or two lines of output from zizmor would be ideal for successful run
Signed-off-by: NicholasTanz <[email protected]>
switching to pedantic covered all of the suppressed results (5) and they seem fairly reasonable to me 4/5 of them were due to unpinned "uses", but those were all unpinned with the reason that security wasn't critical. edit: My bad, the 1/5 was due to excessive permissions and even though there's just one job in that workflow, I think it makes sense to specify the permissions in the job |
jku
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, LGTM
Description of the changes being introduced by the pull request:
Fixes #2793